package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.ConstructionAnnouncement;

/**
 * 施工公告Mapper接口
 * 
 * @author ruoyi
 * @date 2021-06-22
 */
public interface ConstructionAnnouncementMapper 
{
    /**
     * 查询施工公告
     * 
     * @param caId 施工公告ID
     * @return 施工公告
     */
    public ConstructionAnnouncement selectConstructionAnnouncementById(Long caId);

    /**
     * 查询施工公告列表
     * 
     * @param constructionAnnouncement 施工公告
     * @return 施工公告集合
     */
    public List<ConstructionAnnouncement> selectConstructionAnnouncementList(ConstructionAnnouncement constructionAnnouncement);

    /**
     * 新增施工公告
     * 
     * @param constructionAnnouncement 施工公告
     * @return 结果
     */
    public int insertConstructionAnnouncement(ConstructionAnnouncement constructionAnnouncement);

    /**
     * 修改施工公告
     * 
     * @param constructionAnnouncement 施工公告
     * @return 结果
     */
    public int updateConstructionAnnouncement(ConstructionAnnouncement constructionAnnouncement);

    /**
     * 删除施工公告
     * 
     * @param caId 施工公告ID
     * @return 结果
     */
    public int deleteConstructionAnnouncementById(Long caId);

    /**
     * 批量删除施工公告
     * 
     * @param caIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteConstructionAnnouncementByIds(Long[] caIds);
}
